import 'package:flutter/material.dart';

import 'package:get/get.dart';

import '../controllers/bottom_bar_page_controller.dart';

class BottomBarPageView extends GetView<BottomBarPageController> {
  const BottomBarPageView({super.key});

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text('BottomBarPageView'),
        centerTitle: true,
      ),
      body: SingleChildScrollView(
        child: SizedBox(
          width: double.infinity,
          child: Column(
            children: [
              const SizedBox(
                height: 10,
              ),
              ElevatedButton(
                  onPressed: () {
                    Get.toNamed("/bottom6");
                  },
                  child: const Text("Flutter 自带菜单")),
              const SizedBox(
                height: 10,
              ),
              ElevatedButton(
                  onPressed: () {
                    Get.toNamed("/bottom1");
                  },
                  child: const Text("右侧展开菜单")),
              const SizedBox(
                height: 10,
              ),
              ElevatedButton(
                  onPressed: () {
                    Get.toNamed("/bottom8");
                  },
                  child: const Text("向上展开菜单")),
              const SizedBox(
                height: 10,
              ),
              ElevatedButton(
                  onPressed: () {
                    Get.toNamed("/bottom5");
                  },
                  child: const Text("半折扇菜单")),
              const SizedBox(
                height: 10,
              ),
              ElevatedButton(
                  onPressed: () {
                    Get.toNamed("/bottom2");
                  },
                  child: const Text("山峦起伏菜单")),
              const SizedBox(
                height: 10,
              ),
              ElevatedButton(
                  onPressed: () {
                    Get.toNamed("/bottom4");
                  },
                  child: const Text("中间凹进去的菜单")),
              const SizedBox(
                height: 10,
              ),
              ElevatedButton(
                  onPressed: () {
                    Get.toNamed("/bottom3");
                  },
                  child: const Text("底部菜单 仿B站")),
              const SizedBox(
                height: 10,
              ),
              ElevatedButton(
                  onPressed: () {
                    Get.toNamed("/bottom7");
                  },
                  child: const Text("圆圈圈菜单")),
              const SizedBox(
                height: 10,
              ),
              ElevatedButton(
                  onPressed: () {
                    Get.toNamed("/bottom10");
                  },
                  child: const Text("圆圈圈圈菜单")),
              const SizedBox(
                height: 10,
              ),
              ElevatedButton(
                  onPressed: () {
                    Get.toNamed("/bottom9");
                  },
                  child: const Text("抖音、小红书")),
              const SizedBox(
                height: 10,
              ),
              ElevatedButton(
                  onPressed: () {
                    Get.toNamed("/bottom11");
                  },
                  child: const Text("拉面菜单")),
              const SizedBox(
                height: 10,
              ),
              ElevatedButton(
                  onPressed: () {
                    Get.toNamed("/bottom12");
                  },
                  child: const Text("salomon底部菜单")),
              const SizedBox(
                height: 10,
              ),
              ElevatedButton(
                  onPressed: () {
                    Get.toNamed("/bottom13");
                  },
                  child: const Text("一往情深底部菜单")),
            ],
          ),
        ),
      ),
    );
  }
}
